package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.Reservation;
import com.zzyl.vo.ReservationVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ReservationMapper {
    void add(Reservation reservation);

    Page<ReservationVo> getByPage(Integer status);

    void cancel(Long id);

    Integer countByTime(String s);
}
